// 在模块内部定义变量
let version = 1;
//在模块内部定义方法
const sayHi = name=>`您好，${name}`;

const add = (n1,n2)=> n1 + n2;
//向模块外部导出数据
exports.version = version;
exports.sayHi = sayHi;
exports.add = add;